package com.stationbuilding.utils;

/**
 * Created by x on 2015/12/9.
 */
public class Constants {

    public static final int REQUEST_CODE_FROM_CAMERA = 5001;
    public static final int REQUEST_CODE_FROM_ALBUM = 5002;

    public static final String BASEURL = "http://cars.crbim.win/QHY-Tunnel/";

    /**
     * 登录
     */
    public static final String LOGIN = BASEURL + "api/login?";
    /**
     * 树
     */
    public static final String TREE = BASEURL + "api/flowSection/queryAllTree?";
    /**
     * 根据构件类型编码获取工序列表
     */
    public static final String PROCESS = BASEURL + "api/flowSection/getProcedureList?";

    /**
     * 填报进度日报  post
     */
    public static final String WRITEDAYLIST = BASEURL + "api/progressReport/saveProgress?";

    /**
     * 进度日报列表
     */
    public static final String SCHEDULEDAYLIST = BASEURL + "api/progressReport/getProgressReportList?";

    /**
     * 删除进度日报
     */
    public static final String DELETESCHEDULE = BASEURL + "api/progressReport/deleteProgressReport?";

    /**
     * 修改进度日报
     */
    public static final String UPDATESCHEDULE = BASEURL + "api/progressReport/updateProgress?";

    /**
     * 进度日报详情
     */
    public static final String SCHEDULEDETAIL = BASEURL + "api/progressReport/getProgressReportInfo?";

    /**
     * 删除单张图片
     */
    public static final String DELETEONEIMAGE = BASEURL + "api/progressReport/deleteImg?";
    /**
     * 根据编码和百分比算量
     */
    public static final String GETQUANTITY = BASEURL + "api/progressReport/getQuantity?";
    /**
     * 根据编码和工程量算百分比
     */
    public static final String GETPERCENT = BASEURL + "api/progressReport/getPercent?";

}

